#!/usr/bin/perl -pi.bak
# this script makes substitutions into the ZSI wsdl2py generated *_services.py
# to replace php "module.func" with python module_func equivalent.

s/(\W?)(\w+)\.(\w+)Request/$1$2_$3Request/g;
s/(\W?)(\w+)\.(\w+)Response/$1$2_$3Response/g;
s/def (\w+)\.(\w+)\(/def $1_$2\(/;
